﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BiliBiliCSharpStudy.ch30.d12 {
    class HelloEnum2 {
        public static void Demo() {
            Test1();
        }
        public static void Test1() {
            Person person = new Person();
            person.Level = Level.Employee;
        }
    }

    enum Level {
        Employee,
        Manager,
        Boss,
        BigBoss,
    }

    class Person {
        public int ID { get; set; }
        public string Name { get; set; }
        public Level Level { get; set; }
    }
}
